/*
package itHsuSE.demo2;

public class OverLoadExer {
    public static void main(String[] args) {
        T01 t=new T01();
        System.out.println(t.m(5));
        System.out.println(t.m(5,4));
        System.out.println(t.m("5,4"));

        Method method=new Method();
        System.out.println(method.max(1,2));
        System.out.println(method.max(1.2,2.2));
        System.out.println(method.max(1.2,2.2,3.4));
    }
}

class T01{
    public int m(int n){
        return n*n;
    }
    public int m(int n1,int n2){
        return n1*n2;
    }
    public String m(String n){
        return n;
    }
}

class Method{
    public int max(int n1,int n2){
        return (n1>n2)?n1:n2;
    }
    public double max(double n1,double n2){
        return (n1>n2)?n1:n2;
    }
    public double max(double n1,double n2,double n3){
        return ((n1>n2?n1:n2)>n3)?(n1>n2?n1:n2):n3;
    }


    public int sum(int...nums){
        int res=0;
        for (int i = 0; i < nums.length; i++) {
            res+=nums[i];
        }
        return res;
    }
}
*/
